package com.farm.shop.service;


import com.farm.shop.domain.FarmBannerDO;

import java.util.List;
import java.util.Map;

/**
 * 广告轮播图
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-09-06 19:44:48
 */
public interface FarmBannerService {

    /**
     * 用户版 首页广告位展示
     *
     * @return List<BannerEntity>
     */
    List<FarmBannerDO> getAppBannersBySort();

    FarmBannerDO get(Long id);

    List<FarmBannerDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(FarmBannerDO farmBanner);

    int update(FarmBannerDO farmBanner);

    int remove(Long id);

    int batchRemove(Long[] ids);
}
